
public class GolesteC1 extends Operator {
	public Cana execute(Cana cc){
		Cana c = cc;
		c.setX(0);
		return c;
	}
	
	public boolean valabil(Cana c){
		boolean r = false;
		if((c.getX()>0) && (c.getX() <= 3))
			r = true;
		return r;
	}

}
